﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Faster.Entity
{
    public class UserInfo
    {
        #region Property
        public string UserName
        {
            get;
            set;
        }

        public int UserLevel
        {
            get;
            set;
        }

        public string Cookies
        {
            get;
            set;
        }

        public string FaceUrl
        {
            get;
            set;
        }

        private UserSetting _Settings = new UserSetting();
        public UserSetting Settings
        {
            get { return _Settings; }
            set { _Settings = value; }
        }

        public GardenInfo Garden
        {
            get;
            set;
        }

        public List<PropsInfo> Props
        {
            get;
            set;
        }

        public List<PlantInfo> Plants
        {
            get;
            set;
        }

        public List<FriendInfo> Friends
        {
            get;
            set;
        }

        /// <summary>
        /// 经验
        /// </summary>
        public int Experience
        {
            get;
            set;
        }

        /// <summary>
        /// 当前等级升级所需经验
        /// </summary>
        public int ExperienceMax
        {
            get;
            set;
        }

        /// <summary>
        /// 金币
        /// </summary>
        public int Money
        {
            get;
            set;
        }

        /// <summary>
        /// 金券
        /// </summary>
        public int Coupon
        {
            get;
            set;
        }

        /// <summary>
        /// 礼券
        /// </summary>
        public int GiftCertificates
        {
            get;
            set;
        }

        public int UserID
        {
            get;
            set;
        }

        #endregion


        public override string ToString()
        {
            return this.UserName;
        }
    }
}
